package com.elink.enginerring.video.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.video.entity.Chapter;

public interface ChapterMapper {
    int deleteByPrimaryKey(Integer chapterId);

    int insert(Chapter record);

    int insertSelective(Chapter record);

    Chapter selectByPrimaryKey(Integer chapterId);

    int updateByPrimaryKeySelective(Chapter record);

    int updateByPrimaryKey(Chapter record);

	List<Chapter> getChapter(@Param("courseId")int courseId);
}